from QSizer import QSizer

class Spacer(QSizer):
    def __init__(self, width):
        QSizer.__init__(self)

        self.size = (0, width, 0, width)
        self.width = width

    def Add(self, guiObject, proportion = 1, flag = 0):
        print "Spacer doesn't support Add function"

    def SizerHightGet(self):
        return self.width

    def SizerWidthGet(self):
        return self.width